package day05;

/**
 * 用户类
 * @author bonnie
 *
 */
public class User {
	// id
	private String userid;
	// name
	private String username;
	// password
	private String userpassword;
	// telephone
	private String userpnumber;
	//email
	private String email;



	public User(String userid, String username, String userpassword, String userpnumber, String email) {
		super();
		this.userid = userid;
		this.username = username;
		this.userpassword = userpassword;
		this.userpnumber = userpnumber;
		this.email = email;
	}


	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpassword() {
		return userpassword;
	}
	public void setUserpassword(String userpassword) {
		this.userpassword = userpassword;
	}
	public String getUserpnumber() {
		return userpnumber;
	}
	public void setUserpnumber(String userpnumber) {
		this.userpnumber = userpnumber;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [userid=" + userid + ", username=" + username + ", userpassword=" + userpassword + ", userpnumber="
				+ userpnumber + ", email=" + email + "]";
	}

	

}
